/**
 * 游戏结束的成绩
 * @param source 分数
 * @param reactionCount 反应（成功失败）
 * @param restrainCount 抑制（成功失败）
 * @param rightTime 时间
 * @param attention 注意力
 */
export interface Source {
    source: number;
    reactionCount: number[];
    restrainCount: number[];
    rightTime: number[];
    attention: number;
}

export type GameOverCallback = (data: Source) => void;

export interface StartParams {
    scene: number;
    mode: number;
    numbers: number[];
    disturbs: number[];
    attention: number;
    uid: string;
    token: string;
    product: boolean;
    callback: GameOverCallback;
}

export interface ProgressBarOptions {
    bgColor?: number;
    fgColor?: number;
    strokeColor?: number;
    strokeWidth?: number;
}